@import 'scss-imports/variables';

:host {
  position: relative;

  @media (max-width: $breakpoint-sm) {
    display: none;
  }
}

.search-container {
  margin-left: 16px;
  max-width: 250px;
  position: sticky;
  top: 0;
  width: 100%;

  .search-card {
    background-color: var(--bg2);
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 14px 14px;
    position: sticky;
    top: 10px;

    .section {
      align-items: center;
      color: var(--fg1);
      display: flex;
      font-family: var(--font-family-body);
      font-size: 15px;
      gap: 5px;
      padding: 10px;

      ix-icon {
        color: var(--red);
      }
    }

    .section:hover {
      background-color: var(--contrast-lighter);
      cursor: pointer;
    }
  }
}
